package ztc.common;


import java.text.SimpleDateFormat;

/**
 * Created by ztc on 16-4-12.下午3:29
 */
public class SiginBean {
    private Integer id;
    private Integer uid;
    private String sname;
    private String time;
    private Integer size;
    private String foreground;
    private String background;

    public SiginBean() {
    }

    public SiginBean(Integer uid, String sname, Integer size, String foreground, String background) {
        this.uid = uid;
        this.sname = sname;
        this.size = size;
        this.foreground = foreground;
        this.background = background;
        SimpleDateFormat simpleDateFormat=new SimpleDateFormat("yyyy-MM-dd HH:mm:ss");
        this.time=simpleDateFormat.format(new java.util.Date());
    }

    public SiginBean(Integer id, Integer uid, String sname,Integer size, String foreground, String background ,String time) {
        this.id = id;
        this.uid = uid;
        this.sname = sname;
        this.size = size;
        this.foreground = foreground;
        this.background = background;
        this.time = time;
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getUid() {
        return uid;
    }

    public void setUid(Integer uid) {
        this.uid = uid;
    }

    public String getSname() {
        return sname;
    }

    public void setSname(String sname) {
        this.sname = sname;
    }

    public Integer getSize() {
        return size;
    }

    public void setSize(Integer size) {
        this.size = size;
    }

    public String getForeground() {
        return foreground;
    }

    public void setForeground(String foreground) {
        this.foreground = foreground;
    }

    public String getBackground() {
        return background;
    }

    public void setBackground(String background) {
        this.background = background;
    }

    public String getTime() {
        return time;
    }

}
